package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterCashWithdrawalMoneyDao;
import com.vf.admin.miaodong.entity.AppCashWithdrawalMoney;
import com.vf.admin.miaodong.service.AfterCashWithdrawalMoneyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 提现金额管理
 * @author anxiang
 * @version 1.0.0
 * @ClassName AfterCashWithdrawalMoneyServiceImpl.java
 * @Description TODO
 * @createTime 2021年11月06日 16:18:00
 */
@Service
public class AfterCashWithdrawalMoneyServiceImpl implements AfterCashWithdrawalMoneyService{
    @Autowired
    AfterCashWithdrawalMoneyDao afterCashWithdrawalMoneyDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppCashWithdrawalMoney> list(Map<String, Object> map, SplitPageBean splitPageBean) {
        return afterCashWithdrawalMoneyDao.list(map,splitPageBean);
    }

    /**
     * 详情
     */
    @Override
    public AppCashWithdrawalMoney get(Integer id) {
        return afterCashWithdrawalMoneyDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppCashWithdrawalMoney haoYou) {
        afterCashWithdrawalMoneyDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterCashWithdrawalMoneyDao.del(id);
    }
}
